package environment;

import java.util.ArrayList;
import wowmobile.Monster;
import wowmobile.Database;

public class Passage extends Environment {
    private static final boolean walkAble = true;
    private static final int atackChance = 0;
    private static final int image=8;
    private String leadTo;
    private ArrayList<Monster> monsters;


    public void setLeadTo(String area)
    {
        leadTo=area;
    }

    public String getLeadTo()
    {
        return leadTo;
    }

    public String toString()
    {
        return ""+image;
    }

    @Override
    public boolean isWalkAble() {
        return walkAble;
    }

    @Override
    public boolean isAtacked() {
        return false;
    }

    @Override
    public ArrayList<Monster> getMonsters() {
        return monsters;
    }

    public boolean isPassage()
    {
        return true;
    }

    public String getArea()
    {
        return leadTo;
    }
}
